﻿using System.Collections;
using System;
using System.Collections.Generic;
using JZ.JiangSu.IRepository;
using JZ.JiangSu.Model.Entity;

namespace JZ.JiangSu.Repository
{
    public class UserInfoRepository : BaseRepository<UserInfo>, IUserInfoRepository
    {
        public int UpdateUserPicture(int id, string picPath)
        {
            return Update(new List<int>(){id}, new Dictionary<string, object>()
            {
                {"Picture",picPath}
            });
        }
    }
}
